package main.Q2401_2500;

public class Q2431_2440 {
    public static void main(String[] args) {
        System.out.println("Question2431：");
        System.out.println("Question2432：");
        System.out.println("Question2433：找出前缀异或的原始数组");
        System.out.println("Question2434：");
        System.out.println("Question2435：");
        System.out.println("Question2436：");
        System.out.println("Question2437：");
        System.out.println("Question2438：");
        System.out.println("Question2439：");
        System.out.println("Question2440：");
    }
}

class Question2433 {
    public int[] findArray(int[] pref) {
        int[] result = new int[pref.length];
        result[0] = pref[0];
        for (int i = 1; i < pref.length; i++) {
            result[i] = pref[i] ^ pref[i - 1];
        }
        return result;
    }
}